nav-pills {
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 5px;
  }

  .nav-pills > .active > a:focus {
    background-color: rgb(87,250,255);
    background-image: none;
    -webkit-box-shadow: inset 0 3px 7px rgba(0,0,0,.15);
            box-shadow: inset 0 3px 7px rgba(0,0,0,.15);
  }
  /*.nav-pills > .active > a,*/
  .nav-pills > .active > a:hover {
    background-color: #ddd;
    background-image: none;
    -webkit-box-shadow: inset 0 3px 7px rgba(0,0,0,.15);
            box-shadow: inset 0 3px 7px rgba(0,0,0,.15);
  }
  .nav-pills > li:first-child > a {
    border-radius: 5px 5px 0 0;
  }
  .nav-pills > li:last-child > a {
    border-bottom: 0;
    border-radius: 0 0 5px 5px;
  }
  
  @media (min-width: 768px) {
    .nav-pills {
      max-height: 52px;
    }
    .nav-pills > li > a {
      border-right: 1px solid #d5d5d5;
      border-left: 1px solid #fff;
    }
    .nav-pills > li:first-child > a {
      border-left: 0;
      border-radius: 5px 0 0 5px;
    }
    .nav-pills > li:last-child > a {
      border-right: 0;
      border-radius: 0 5px 5px 0;
    }
  }
  
  /* Responsive: Portrait tablets and up */
  @media screen and (min-width: 768px) {
    /* Remove the padding we set earlier */
    .masthead,
    .marketing,
    .footer {
      padding-right: 0;
      padding-left: 0;
    }
  }